import React from 'react';
import { Layout } from 'antd';
import { DndProvider } from 'react-dnd';
import { HTML5Backend } from 'react-dnd-html5-backend';
import PanelSidebar from '../components/PanelSidebar';
import PanelContent from '../components/PanelContent';
import './App.less';
// 起始页
const App: React.FC = () => {
    return (
        <DndProvider backend={HTML5Backend}>
            <Layout className="app-container">
                <PanelSidebar />
                <PanelContent />
            </Layout>
        </DndProvider>
    );
};

export default App;